package xyz.dfm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
//链式加载
@Accessors(chain = true)
//表名映射
@TableName("usertab")
@ToString
public class User{
    //定义主键
    @TableId(type = IdType.ASSIGN_ID)
    private Integer userId;
    private String userName;
    private String userNumber;
    private String userPassword;
    private String userSalt;
    private Integer userStatus;
    private Date userRegisterTime;
}
